package com.example.mbl.dao;

import com.example.mbl.entity.PostDoctor;
import com.example.mbl.result.business.PostDoctorPageResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PostDoctorMapper {
    int deleteByPrimaryKey(String id);

    int insert(PostDoctor record);

    int insertSelective(PostDoctor record);

    PostDoctor selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(PostDoctor record);

    int updateByPrimaryKey(PostDoctor record);

    List<PostDoctorPageResult> getPostDoctorList(@Param("start") int start,
                                                 @Param("pagesize") int pagesize);
}